package com.wuwei.service.impl;

import com.wuwei.service.PaymentHystrixService;
import org.springframework.stereotype.Component;

/**
 * @description: PaymentHystrixFallBackServiceImpl <br>
 * @date: 2021/2/9 19:14 <br>
 * @author: wuwei666 <br>
 * @version: 1.0 <br>
 */
@Component
public class PaymentHystrixFallBackServiceImpl implements PaymentHystrixService {

    @Override
    public String payment_ok(Integer id) {
        return "payment_ok,fallback";
    }

    @Override
    public String payment_timeout(Integer id) {
        return "payment_timeout,fallback";
    }
}
